package com.deyuanyun.pic.pipe.mapper;

import com.deyuanyun.pic.pipe.domain.Gww;
import com.deyuanyun.pic.pipe.domain.Identification;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 计算最近参考点和相对环焊缝
 * @author lijun
 * @date 2017-01-11
 * 
 * History: [修改人][时间][修改描述]
 */
public interface ComputeRefUgwMapper {
    /**
     * 根据绝对距离计算最近参考点(只含有电位测试桩 里程桩 转角桩)
     */
    Identification queryReferenceByMile(@Param("pipeLineId") String pipeLineId, @Param("mileage") BigDecimal mileage);

    /**
     * 根据绝对距离计算上游环焊缝检测编号
     */
    Gww queryUgwNumberByMile(@Param("pipeLineId") String pipeLineId, @Param("mileage") BigDecimal mileage);
}
